<?php
	require_once("includes/header.inc.php");
		
		$file = $_POST["file"];
		$array = unserialize(file_get_contents($file));
		$billede = $array['billede'];
		unlink($billede);
		unlink($file);
		header("Location: admin.php");

	require_once("includes/footer.inc.php");
?>